Optimal. Leaf size=51 \[ \frac{\sqrt{\frac{\pi }{2}} x^2 \left (a x^n\right )^{-2/n} \text{Erfi}\left (\frac{\sqrt{2} \sqrt{\log \left (a x^n\right )}}{\sqrt{n}}\right )}{\sqrt{n}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0326668, antiderivative size = 51, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {2310, 2180, 2204} \[ \frac{\sqrt{\frac{\pi }{2}} x^2 \left (a x^n\right )^{-2/n} \text{Erfi}\left (\frac{\sqrt{2} \sqrt{\log \left (a x^n\right )}}{\sqrt{n}}\right )}{\sqrt{n}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2310
Rule 2180
Rule 2204
Rubi steps
\begin{align*} \int \frac{x}{\sqrt{\log \left (a x^n\right )}} \, dx &=\frac{\left (x^2 \left (a x^n\right )^{-2/n}\right ) \operatorname{Subst}\left (\int \frac{e^{\frac{2 x}{n}}}{\sqrt{x}} \, dx,x,\log \left (a x^n\right )\right )}{n}\\ &=\frac{\left (2 x^2 \left (a x^n\right )^{-2/n}\right ) \operatorname{Subst}\left (\int e^{\frac{2 x^2}{n}} \, dx,x,\sqrt{\log \left (a x^n\right )}\right )}{n}\\ &=\frac{\sqrt{\frac{\pi }{2}} x^2 \left (a x^n\right )^{-2/n} \text{erfi}\left (\frac{\sqrt{2} \sqrt{\log \left (a x^n\right )}}{\sqrt{n}}\right )}{\sqrt{n}}\\ \end{align*}
Mathematica [A] time = 0.0089993, size = 51, normalized size = 1. \[ \frac{\sqrt{\frac{\pi }{2}} x^2 \left (a x^n\right )^{-2/n} \text{Erfi}\left (\frac{\sqrt{2} \sqrt{\log \left (a x^n\right )}}{\sqrt{n}}\right )}{\sqrt{n}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.181, size = 0, normalized size = 0. \begin{align*} \int{x{\frac{1}{\sqrt{\ln \left ( a{x}^{n} \right ) }}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{\sqrt{\log \left (a x^{n}\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{\sqrt{\log{\left (a x^{n} \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{\sqrt{\log \left (a x^{n}\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]